window: Clear the renderer un unrealize
authorBenjamin Otte <otte@redhat.com>
Wed, 1 Nov 2017 14:46:20 +0000 (15:46 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 1 Nov 2017 14:48:00 +0000 (15:48 +0100)
commit8059f9bb3a8a4991a364db797965efffee2dba1d
tree8b1a4db70972aca59eff0c7b7c53708ef7b4e008
parent6b3d979196cf89542e7ba42839e6e7830fb8303b
window: Clear the renderer un unrealize

We disconnect from the GDK window, so the renderer can't keep any useful
state.

Plus, we might be using an entirely different window next time we
realize (after a call to gtk_window_set_display() for example) that should
use a completely different renderer anyway.
gtk/gtkwindow.c